#ifndef PEERINFO_H
#define PEERINFO_H

namespace Client {

struct PeerInfo {
	int id;
	int ip;
	int port;
	bool connected;

	PeerInfo() {
		connected = false;
	}

	bool operator==(const PeerInfo & peer) const {
		return (id == peer.id) && (ip == peer.ip) && (connected == peer.connected) && (port == peer.port);
	}
};

}

#endif // PEERINFO_H
